<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<%@ include file="../../common/headConfig.jsp"%>
	<link rel="stylesheet" href="css/vehicleGroup.css" />
	<script type="text/javascript" src="js/deviceManagement/centerDevice.js"></script>
	
	<script>
		rivmsMenuActive = "rivms_DeviceManagement";
		 $(document).ready(function() {
		 	$( "button" ).button();
		 	ajaxFindCenterDeviceSearchList(); 
		 });
		
	</script>
</head>
<body>
	<div id="rvimsContent">
		<%@ include file="../../common/header.jsp"%>
		<div id="rvimsMain">
			<div style="width: 100%;">
				<div class="crumbbox">当前位置：设备管理&gt;&gt;<font color="red"><font color="red">中心设备管理</font></font></div>
				<div class="buttonbox">
					<button onclick="ajaxShowCenterDeviceEdit(null);return false;">新增</button>
					<button onclick="ajaxDeleteCenterDeviceById(null)">删除</button>
				</div>
				<div id="sltCenterDevice"  class="searchbox">
					<table style="background-color: #3BAAE3;width: 100%;min-width:950px;" cellspacing="0" cellpadding="0">
						<tr>
							<td align="right">设备名称：</td>
							<td><input type="text" id="deviceName"></td>
							<td align="right">所属单位：</td>
							<td>
								<select id="ownedOrganization">
									<option value="">---请选择---</option>
									<c:forEach items="${lstDeviceType}" var="deviceType">
										<option value="${deviceType.id }">${deviceType.name }</option>
									</c:forEach>
								</select>
							</td>
							<td>
								<button onclick="ajaxFindCenterDeviceSearchList()">查询</button>
							</td>
						</tr>
						<tr>
							<td align="right">设备类型：</td>
							<td>
								<select id="deviceType">
									<option value="">---请选择---</option>
									<c:forEach items="${lstDeviceType}" var="deviceType">
										<option value="${deviceType.id }">${deviceType.name }</option>
									</c:forEach>
								</select>
							</td>
							<td align="right">设备状态：</td>
							<td>
								<select id="deviceStatus">
									<option value="">---请选择---</option>
									<c:forEach items="${lstOwnerSystem}" var="ownerSystem">
										<option value="${ownerSystem.id }">${ownerSystem.name }</option>
									</c:forEach>
								</select>
							</td>
							<td>
								<button onclick="clearInput('#sltCenterDevice')">重置</button>
							</td>
						</tr>
					</table>
				</div>
				<form id="fmCenterDevice" method="post"><input type="hidden" id="centerDeviceId" name="centerDeviceId"></form>
				<div id="listCenterDeviceBox" style="width: 100%;"></div>
			</div>
		</div>
		<%@ include file="../../common/footer.jsp"%>
	</div>
</body>
</html>